Galatians 3:10-13

3:10 For all who rely on doing the works of the law are under a curse, because it is written, “Cursed is everyone who does not keep on doing everything written in the book of the law. 3:11 Now it is clear no one is justified before God by the law, because the righteous one will live by faith. 3:12 But the law is not based on faith, but the one who does the works of the law will live by them. 3:13 Christ redeemed us from the curse of the law by becoming a curse for us (because it is written, “Cursed is everyone who hangs on a tree”)

Galatians 3:17

3:17 What I am saying is this: The law that came four hundred thirty years later does not cancel a covenant previously ratified by God, so as to invalidate the promise.